﻿<UserControl x:Class="Scripting_Engine.ScriptingEngineUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:bluetheme="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.TwilightBlue"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" Background="White">
        <bluetheme:TwilightBlueTheme>
            <StackPanel>
            
            <TextBlock x:Name="Notes" Text="-To Open File From open File Dlg Press Open 
                       - To open from isolated Write the filename in the first textbox then press open 
                       - To Save write the Filename in the first textbox and press save"/>
            <Button x:Name="Open" Click="Open_Click" Height="30" Width="80" Content="Open" ></Button>
            <TextBlock x:Name="FileName" Text="File Name"/>
            <TextBox x:Name="TxtFileName" Height="20" Width="150" ></TextBox>
            <Button Height="30" Width="80" Content="Save" x:Name="BSave" Click="BSave_Click"/>
            <TextBox Height="300" Width="800" x:Name="TxtFileData" TextChanged="TxtFileData_TextChanged" AcceptsReturn="True"/>
            <Button Content="Close"  x:Name="CloseBtn" Click="CloseBtn_Click"></Button>
        </StackPanel>
            </bluetheme:TwilightBlueTheme>
    </Grid>
</UserControl>
